package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 福禄订单
 *
 * @author liGen
 * @version 1.0
 * @date 2023/11/15 1:35 下午
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_api_order_direct")
public class ApiOrderDirect extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * API订单id
     */
    private String apiOrderId;

    /**
     * API商品Id
     */
    private Integer apiProductId;

    /**
     * API商品名称
     */
    private String apiProductName;

    /**
     * API充值账号
     */
    private String apiChargeAccount;

    /**
     * API商品购买数量
     */
    private Integer apiBuyNum;

    /**
     * API订单类型：1-话费 2-流量 3-卡密 4-直充
     */
    private Integer apiOrderType;

    /**
     * 订单状态:success：成功，processing：处理中，failed：失败，untreated：未处理
     */
    private String apiOrderState;

    /**
     * 充值成功时间
     */
    private Date successTime;
}
